package antonst.map;

import java.util.Iterator;

public interface MyMap<K, V> {
	
	void clear();

	boolean containsKey(Object key);

	boolean containsValue(Object value);

	V get(Object key);

	boolean isEmpty();

	V put(K key, V value);

	V remove(Object key);

	int size();

	Iterator<Entry<K, V>> entryIterator();

	public static interface Entry<K, V> {
		
		@Override
		boolean equals(Object o);

		K getKey();

		V getValue();

		@Override
		int hashCode();

		V setValue(V value);
		
	}
	
}
